/* 全局样式 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 聊天室样式 */
.message-content {
    background-color: #f8f9fa;
    max-width: 70%;
    word-break: break-word;
}

.message.sent .message-content {
    background-color: #007bff;
    color: white;
}

.message.sent {
    text-align: right;
}

.message.sent .d-flex {
    flex-direction: row-reverse;
}

.user-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.user-item:hover {
    background-color: #f8f9fa;
}

.user-item.active {
    background-color: #e9ecef;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
} 